#pragma once
#include <string>
#include <set>
#include <map>

class Stopword
{
public:
	Stopword(void);
	~Stopword(void);
	void addStopword(std::string word);
	void removeStopword(std::string word);
	std::set<std::string>::iterator findStopword(std::string word);
	std::set<std::string> loadStopword(std::string file);
	std::map<std::string, double> & filter(std::map<std::string, double> & map, std::string str, std::string file);

private:
	std::set<std::string> stopwordSet;
};

